# -*- coding: utf-8 -*-
"""
Created on Wed Sep 27 13:05:27 2017

@author: Luther
"""


def C(x):
    return 5 / 9 * (x - 32)


print('摄氏华氏度对照表(0~300℃)\n')
i = 0
while i <= 300:
    print('摄氏', i, '度')
    print('华氏 %.2f 度\n' % C(i))
    i = i + 20
